onNestedScrollAccepted

open fun onNestedScrollAccepted(@NonNull child: @NonNull View, @NonNull target: @NonNull View, axes: Int)(source)

Called when a nested scrolling operation initiated by a descendant view is accepted by this ViewGroup.

This is a delegate method. Call it from your ViewGroup subclass method/androidx.core.view.NestedScrollingParent interface method with the same signature to implement the standard policy.


open fun onNestedScrollAccepted(@NonNull child: @NonNull View, @NonNull target: @NonNull View, axes: Int, type: Int)(source)

Called when a nested scrolling operation initiated by a descendant view is accepted by this ViewGroup.

This is a delegate method. Call it from your ViewGroup subclass method/androidx.core.view.NestedScrollingParent2 interface method with the same signature to implement the standard policy.